package com.linb.pan.server.modules.share.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.linb.pan.web.serializer.Date2StringSerializer;
import com.linb.pan.web.serializer.IdEncryptSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "分享链接列表结果实体")
public class BPanShareUrlListVO implements Serializable {

    private static final long serialVersionUID = 657032770848854054L;

    @ApiModelProperty("分享的id")
    @JsonSerialize(using = IdEncryptSerializer.class)
    private Long shareId;

    @ApiModelProperty("分享的名称")
    private String shareName;

    @ApiModelProperty("分享的类型")
    private Integer shareType;

    @ApiModelProperty("分享的天数类型")
    private Integer shareDayType;

    @ApiModelProperty("分享的结束时间")
    @JsonSerialize(using = Date2StringSerializer.class)
    private Date shareEndTime;

    @ApiModelProperty("分享的url")
    private String shareUrl;

    @ApiModelProperty("分享码")
    private String shareCode;

    @ApiModelProperty("分享状态")
    private Integer shareStatus;

    @ApiModelProperty("分享的创建时间")
    @JsonSerialize(using = Date2StringSerializer.class)
    private Date createTime;

}
